package com.tianji.learning.service;

import com.tianji.common.domain.dto.PageDTO;
import com.tianji.learning.domain.dto.QuestionFormDTO;
import com.tianji.learning.domain.po.InteractionQuestion;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tianji.learning.domain.query.QuestionPageQuery;
import com.tianji.learning.domain.vo.QuestionDetailVO;
import com.tianji.learning.domain.vo.QuestionVO;

/**
 * <p>
 * 互动提问的问题表 服务类
 * </p>
 *
 * @author yb0os1
 * @since 2024-12-21
 */
public interface IInteractionQuestionService extends IService<InteractionQuestion> {

    void addQuestion(QuestionFormDTO questionDTO);

    void editQuestion(Long id,QuestionFormDTO questionDTO);

    PageDTO<QuestionVO> queryUserQuestionPage(QuestionPageQuery page);

    QuestionDetailVO getQuestionDetail(Long id);

    void deleteMyQuestion(Long id);
}
